<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE> FreeCMS - 公开源码、免费使用、代码通俗易懂、注释详细、面向二次开发友好，致力于打造更好的中国开源免费CMS!</TITLE>
<META content="text/html; charset=utf-8" http-equiv=Content-Type><LINK 
title="Main stylesheet" rel=stylesheet type=text/css 
href="/site/FreeCMS/resources/css/site.css" 
media=all></HEAD>
<BODY>
<DIV id=page-header>
<P class=menu>&nbsp;</P>
<P class=apache>&nbsp;</P><A href="/">
<IMG alt="" 
src="/site/FreeCMS/resources/img/logo.png" 
>

 </A></DIV><!-- LEFT SIDE NAVIGATION -->
<DIV id=apmenu>

    <H1 >要点</H1>
    <UL>
        <LI><A href="/site/FreeCMS/dt/index.html">动态</A> 
        <LI><A href="/site/FreeCMS/about/index.html">关于</A> 
        <LI><A href="/site/FreeCMS/license/index.html">许可证</A> 
        <LI><A href="/site/FreeCMS/FAQ/index.html">常见问题解答</A> 
        <LI><A href="http://code.google.com/p/freecms/wiki/Wiki">维基</A> 
        <LI><A href="http://code.google.com/p/freecms/issues/list">讨论</A> 
    </UL>
    <H1 >功能演示</H1>
    <UL>
        <LI><A href="/site/FreeCMS/unit/index.html">单位</A> 
        <LI><A href="/site/FreeCMS/util/index.html">工具类</A> 
        <LI><A href="/site/FreeCMS/comment/index.html">评论</A> 
        <LI><A href="/site/FreeCMS/question/index.html">网上调查</A> 
        <LI><A href="/site/FreeCMS/config/index.html">系统配置</A> 
        <LI><A href="/site/FreeCMS/mail/index.html">信件</A> 
        <LI><A href="/site/FreeCMS/applyopen/index.html">依申请公开</A> 
        <LI><A href="/site/FreeCMS/user/index.html">用户</A> 
        <LI><A href="/site/FreeCMS/report/index.html">在线申报</A> 
        <LI><A href="/site/FreeCMS/guestbook/index.html">留言</A> 
        <LI><A href="/site/FreeCMS/imgs/index.html">图片集</A> 
        <LI><A href="/site/FreeCMS/job/index.html">招聘</A> 
        <LI><A href="/site/FreeCMS/tag/index.html">自定义标签</A> 
    </UL>
    <H1 >下载</H1>
    <UL>
        <LI><A href="http://code.google.com/p/freecms/downloads/list">下载</A> 
        <LI><A href="http://code.google.com/p/freecms/source/checkout">源代码</A> 
    </UL>
    <H1 >获得支持</H1>
    <UL>
        <LI><A href="/site/FreeCMS/service/index.html">服务支持</A> 
        <LI><A href="/site/FreeCMS/solution/index.html">解决方案</A> 
    </UL>
    <H1 >参与</H1>
    <UL>
        <LI><A href="/site/FreeCMS/bug/index.html">Bug报告</A> 
        <LI><A href="/site/FreeCMS/share/index.html">贡献源码</A> 
        <LI><A href="/site/FreeCMS/join/index.html">加入FreeTeam</A> 
    </UL>
    <H1 >其它</H1>
    <UL>
        <LI><A href="/site/FreeCMS/contribute/index.html">捐赠</A> 
    </UL>

</DIV>
<!-- RIGHT SIDE INFORMATION -->
<DIV id=apcontents>
<h1>发表留言</h1>
<script src="/js/check.js"></script>
<script>
function validata(form){
	if(document.getElementById("name").value==""){
		alert("请输入姓名");
		document.getElementById("name").focus();
		return false;
	}
	if(document.getElementById("email").value!="" && !isEmail(document.getElementById("email").value,"")){
		alert("请输入正确的邮箱");
		document.getElementById("email").select();
		return false;
	}
	if(document.getElementById("tel").value==""){
		alert("请输入联系电话");
		document.getElementById("tel").focus();
		return false;
	}
	if(document.getElementById("title").value==""){
		alert("请输入标题");
		document.getElementById("title").focus();
		return false;
	}
	if(document.getElementById("content").value==""){
		alert("请输入留言内容");
		document.getElementById("content").focus();
		return false;
	}else if(document.getElementById("content").value.length>500){
		alert("留言内容不能超过500个字符");
		document.getElementById("content").focus();
		return false;
	}
	if(document.getElementById("validatecode").value==""){
		alert("请输入验证码");
		document.getElementById("validatecode").focus();
		return false;
	}
	return true;
}
</script>  
<form name="guestbookForm" method="post" 
action="/guestbook_save.do?siteid=7a4d22d6-762b-46e5-895b-d62da52bf9cb&templetPath=guestbook/guestbookSave.html" 
onsubmit="return validata(this);">
<input type="hidden" name="guestbook.siteid" value="7a4d22d6-762b-46e5-895b-d62da52bf9cb"/>
          <table width="710" border="0" cellpadding="0" cellspacing="1" bgcolor="#E6E6E6">
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">姓名：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              <input id="name" name="guestbook.name" type="text" class="ysqgk_box2" />
                <span class="hong_wz">*</span></td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">性别：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              <input type="radio" name="guestbook.sex" value="1" checked>男         
              <input type="radio" name="guestbook.sex" value="0">女
              <span class="hong_wz">*</span></td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">电子邮箱：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              <input name="guestbook.email" id="email" type="text" class="ysqgk_box2" />
                </td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">QQ：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              <input name="guestbook.qq" id="qq" type="text" class="ysqgk_box2" />
                </td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">联系电话：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px"><input name="guestbook.tel" id="tel" type="text" class="ysqgk_box1" />
                <span class="hong_wz">*</span></td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">标题：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              <input name="guestbook.title" id="title" type="text" class="ysqgk_box2" />
                <span class="hong_wz">*</span></td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">留言内容：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              <textarea name="guestbook.content" id="content" cols="30" rows="5"></textarea>
                <span class="hong_wz">(500字以内)*</span></td>
            </tr>
            <tr>
              <td width="150" height="30" align="right" valign="middle" bgcolor="#FFFFFF" class="lan_bwz" style="padding-right:10px">验证码：</td>
              <td height="30" align="left" valign="middle" bgcolor="#FFFFFF" style="padding-left:10px">
              <input type="text" id="validatecode" name="validatecode" class="jzxx_yzm" size=10 maxlength="4" >
<img id="validatecodeImg" src="/image.jsp" title="点击重新获取验证码" style="cursor:hand" onclick="this.src='/image.jsp?date='+new Date();"/> 
<script>
document.getElementById("validatecodeImg").src="/image.jsp?date="+new Date();
</script></td>
            </tr>
            <tr>
              <td height="30" colspan="2" align="center" valign="middle" bgcolor="#FFFFFF"><input type="submit" name="Submit" value="提交留言" />
                <input type="reset" name="Submit2" value="重 置" /> 
                </td>
            </tr>
          </table>
          </form>
<!-- FOOTER -->
<DIV id=footer>
<P>Copyright © 2013 FreeTeam</P></DIV></DIV></BODY></HTML>

